-
Home
-
Whols – Wholesale Prices and B2B Store Solution for WooCommerce
-
2.0.0
-
Code
-
Classes
- Settings_REST_API
Total Complexity |
24 |
Dependencies |
4 |
Dependents |
1 |
Total lines |
228 |
Lines of code |
164 |
Logical lines of code |
46 |
Comment lines |
31 |
Methods |
14 |
Properties |
2 |
Methods 14
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
register_rest_routes() |
S |
41 |
1 |
81 |
check_permission() |
S |
55 |
5 |
20 |
update_settings() |
S |
58 |
4 |
16 |
sanitize_array() |
S |
63 |
3 |
11 |
instance() |
S |
72 |
2 |
6 |
__construct() |
S |
79 |
1 |
3 |
get_settings() |
S |
69 |
1 |
6 |
get_roles() |
S |
80 |
1 |
3 |
get_pages() |
S |
80 |
1 |
3 |
get_products() |
S |
80 |
1 |
3 |
get_product_categories() |
S |
80 |
1 |
3 |
get_countries() |
S |
80 |
1 |
3 |
get_users() |
S |
80 |
1 |
3 |
get_payment_gateways() |
S |
80 |
1 |
3 |